/**
 *
 */
package com.ybkj.daijia.server.model;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;
import java.io.Serializable;
import java.util.Date;

/**
 * @author Shine
 *
 */
@JsonAutoDetect(fieldVisibility = Visibility.NONE)
public abstract class Base implements Serializable {

    public final static String ID_PROPERTY_NAME = "id";
    public final static String CREATED_PROPERTY_NAME = "created";
    public final static String UPDATED_PROPERTY_NAME = "updated";
    /**
     *
     */
    private static final long serialVersionUID = 7306031543586174909L;
    protected Long id;

    protected Date created;

    protected Date updated;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }

}
